package com.example.isoftservice.mapper;

import com.example.isoftservice.pojos.Category;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface CategoryMapper {

    List<Map<String,Object>> selectCategoryList();

    Category selectCategoryById(Integer categoryId);

    int insertCategory(Category category);

    int deleteCategoryByIds(Integer[] ids);

    int updateCategoryById(Category category);
}
